﻿using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Framework.Reflection;
using Pixysoft.Weblications.Sango.Protocol.general;
using Pixysoft.Weblications.Sango.Protocol;
using Pixysoft.Weblications.Sango.Protocol.stage;

namespace Pixysoft.Weblications.Sango.Command.general
{
    partial class SangoGeneralHandler
    {
        public general_global general_global()
        {
            general_global response = ReflectionManager.CreatePojo<general_global>();

            response.fames = GeneralFacade.ToFames();
            response.maps = StageFacade.toMaps();
            response.Succeed = true;
            return response;
        }
    }

    public interface general_global : ISangoResponse
    {
        List<general_famesetting> fames { get;set;}
        List<stage_map> maps { get;set;}
    }
}
